import request from '@/utils/request'

// 查询规则结果记录列表
export function listRuleOut(query) {
    return request({
        url: '/business/RuleOut/list',
        method: 'get',
        params: query
    })
}

// 查询规则结果记录详细
export function getRuleOut(id) {
    return request({
        url: '/business/RuleOut/' + id,
        method: 'get'
    })
}

// 新增规则结果记录
export function addRuleOut(data) {
    return request({
        url: '/business/RuleOut',
        method: 'post',
        data: data
    })
}

// 修改规则结果记录
export function updateRuleOut(data) {
    return request({
        url: '/business/RuleOut',
        method: 'put',
        data: data
    })
}

// 删除规则结果记录
export function delRuleOut(id) {
    return request({
        url: '/business/RuleOut/' + id,
        method: 'delete'
    })
}

// 导出规则结果记录
export function exportRuleOut(query) {
    return request({
        url: '/business/RuleOut/export',
        method: 'get',
        params: query
    })
}